﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;

namespace Core.Basic {
	public class Accounts : ObservableCollection<Account> {
		public Accounts( ) {
			this.Add(new Account( ) { Name = "xmpp:virusxd@aqq.eu" });
			this.Add(new Account( ) { Name = "xfire:virusxd" });
			this.Add(new Account( ) { Name = "gg:211837" });
			this.Add(new Account( ) { Name = "gg:736949" });
			this.Add(new Account( ) { Name = "icq:85727492" });
			this.Add(new Account( ) { Name = "icq:472649283" });
			this.Add(new Account( ) { Name = "gg:2846293" });
			this.Add(new Account( ) { Name = "skype:virusxd91" });
			this.Add(new Account( ) { Name = "bg:3862934" });
			this.Add(new Account( ) { Name = "qq:237362" });
			this.Add(new Account( ) { Name = "lolika:278362" });
		}
		public void MoveUpItem(int index) {
			if (index > 0 && this.Count > 1)
				this.MoveItem(index, index-1);
		}
		public void MoveDownItem(int index) {
			if (index > -1 && index < this.Count - 1)
				this.MoveItem(index, index + 1);
		}
	}
}